package com.zb.uniman.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zb.uniman.model.Bank;
import com.zb.uniman.model.Restartant;
import com.zb.uniman.service.RestartantService;
import com.zb.uniman.mapper.RestartantMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author a1823
* @description 针对表【restartant】的数据库操作Service实现
* @createDate 2023-11-29 22:15:12
*/
@Service
public class RestartantServiceImpl extends ServiceImpl<RestartantMapper, Restartant>
    implements RestartantService{

    @Autowired
    private RestartantMapper restartantMapper;
    @Override
    public List<Bank> searchBankInRestarant() {
        List<Bank> bankList = restartantMapper.searchBankInRestarant();
        return bankList;

    }
}




